import request from '@/utils/request'
//根据数据源分组获取统计数据
export function getReportBySource(data) {
  return request({
    url: '/system/job/QualityCheckReport/getReportBySource',
    method: 'get',
    params: data
  })
}
//根据规则类型统计数据
export function getReportByType(data) {
  return request({
    url: '/system/job/QualityCheckReport/getReportByType',
    method: 'get',
    params: data
  })
}
//统计数据详情
export function getReportDetail(data) {
  return request({
    url: '/system/job/QualityCheckReport/getReportDetail',
    method: 'get',
    params: data
  })
}
//下载异常数据文件
export function getReportDown(data) {
  return request({
    url: '/system/job/QualityCheckReport/downloadFile?fileName='+data,
    method: 'get'
  })
}


